{% extends 'nofooter-base.html' %}
{% load static %}
{% block custom_content %}
    <header class="top-header">
        <a class="text texta" href="/">取消</a>
        <h3>登录</h3>
        <a class="text" href="#">注册</a>
    </header>

    <div class="login">
        <form action="{% url 'login' %}" method="post" autocomplete="off">
            <ul>
                <li>
                    <img src="{% static 'images/login.png' %}"/>
                    <label>账号</label>
                    <input type="text" name="username" placeholder="请输入账号"/>
                </li>
                <li>
                    <img src="{% static 'images/password.png' %}"/>
                    <label>密码</label>
                    <input type="password" name="password" placeholder="请输入密码"/>
                </li>
            </ul>
            {% csrf_token %}
            <input type="submit" value="登录"/>
        </form>
    </div>

{% endblock %}

